Scratch spoiler boss fight:

Wait for the first round of spikes. Try to get between the spikes.
Then hold space to shoot as fast as you can. Don't spam the space
key because there is a cooldown. After you hit the boss once, you
have 5 frames to get another hit. Then, just keep getting more time
to keep shooting the boss, until it dies.
Scratch link: Go